﻿using System;
using RayDen.RayEngine.Core.Types;

namespace RayDen.RayEngine.VertexFramework
{
    public class PathInfo : ICloneable
    {
        public UInt64 Expression;
        public CameraSample EyeSample;
        public LightSample LightSample;
        public PathVertex[] Vertices;
        public float Weight;

        public bool Complete;

        public PathElement CurrentVertex;

        public object Clone()
        {
            return new PathInfo()
            {
                Expression = this.Expression,
                EyeSample = this.EyeSample,//ref
                LightSample = this.LightSample,//ref
                Vertices = this.Vertices, //ref
                Weight = this.Weight
            };
        }
    }
}